<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			*{
				margin: 0px;
				padding: 0px;
			}
			#box
			{
				width: 700px;
				height: 89ox;
				margin: 0 auto;
				background-color: #00FFFF;
				border: 5px solid lightblue;
				overflow: hidden;
			}
			
			img{
				width: 100px;
				height: 89px;
			}
			
			#inner
			{
				width: 1800px;
				height: 89px;
			}
		</style>
	</head>
	<body>
		<div id="box">
			<div id="inner">
				<img src="1.jpg" /><img src="2.jpg" /><img src="3.jpg" /><img src="4.jpg" /><img src="5.jpg" /><img src="6.jpg" /><img src="7.jpg" /><img src="8.jpg" /><img src="9.jpg" /><img src="10.jpg" /><img src="11.jpg" /><img src="12.jpg" /><img src="1.jpg" /><img src="2.jpg" /><img src="3.jpg" /><img src="4.jpg" /><img src="5.jpg" /><img src="6.jpg" /><img src="7.jpg" />
			</div>
		</div>
		<script type="text/javascript">
			
			var t;
			var n = 1;
			function move()
			{
				if(box.scrollLeft>1200)
				{
					box.scrollLeft=0;
				}
				else
				{
					box.scrollLeft++;
				}
				t = setTimeout(move,n)
			}
			move()
			
			box.onmouseover = function()
			{
				clearTimeout(t);
			}
			
			box.onmouseout = function()
			{
				t = setTimeout(move,10);
			}
		</script>
	</body>
</html>
